Configure PXE Server
2011/07/15 |
Configure PXE (Preboot eXecution Environment) Server. Your computer needs to have a NIC with PXE surpport.
|
|
[1] | Install some required packages first |
[root@pxe ~]#
[root@pxe ~]# yum -y install syslinux xinetd tftp-server mkdir /var/lib/tftpboot/pxelinux.cfg [root@pxe ~]# cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/ |
[2] | Start TFTP |
[root@pxe ~]#
vi /etc/xinetd.d/tftp # line 14: chnage disable = no
/etc/rc.d/init.d/xinetd start Starting xinetd: [ OK ] [root@pxe ~]# chkconfig xinetd on
|
[3] | Start DHCP Server. See here to configure basic settings. Furthermore, Add settings like follows. |
[root@pxe ~]#
vi /etc/dhcp/dhcpd.conf
option domain-name-servers
[root@pxe ~]# 10.0.0.30; # near line 8: add filename
"pxelinux.0"; # IP address of PXE Server next-server 10.0.0.70; /etc/rc.d/init.d/dhcpd restart Shutting down dhcpd: [ OK ] Starting dhcpd: [ OK ] |
[4] |
Basic PXE configuration completes. Please see next topic to do Network Install and so on.
|